package com.wiscamp.ninechapters.panels.application.command;

import cube.ddd.application.command.CommandObject;
import jakarta.validation.constraints.Min;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户表
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class InitUserPasswordCommand extends CommandObject {

    /**
     * 用户编号
     */
    @Min(value = 1, message = "编号最小值不能低于1。")
    private Long userId = 0L;

    /**
     * 应用编号
     */
    @Min(value = 1, message = "编号最小值不能低于1。")
    private Long applicationId = 0L;
}
